//接口统一管理 所有的请求
import  Ajax from '@/utils/ajax'
//引入mock假数据
import mockAjax from '@/utils/mockAjax'

//三级联动请求
export const reqCategoryList = ()=>{
    return Ajax({
        url:"/product/getBaseCategoryList",
        method:"get"
    })
}

//获取banner(home首页轮播图)
export const reqBannerList = ()=>{
    return mockAjax.get("/banner")
}